package com.ymttest.database.sharding.db.ext.mapper;

import com.ymttest.database.sharding.db.ext.model.OrderExtExample;
import com.ymttest.database.sharding.db.ext.model.OrderExtPo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderExtMapper {
    int countByExample(OrderExtExample example);

    int deleteByExample(OrderExtExample example);

    int deleteByPrimaryKey(Long orderId);

    int insert(OrderExtPo record);

    int insertSelective(OrderExtPo record);

    List<OrderExtPo> selectByExample(OrderExtExample example);

    OrderExtPo selectByPrimaryKey(Long orderId);

    int updateByExampleSelective(@Param("record") OrderExtPo record, @Param("example") OrderExtExample example);

    int updateByExample(@Param("record") OrderExtPo record, @Param("example") OrderExtExample example);

    int updateByPrimaryKeySelective(OrderExtPo record);

    int updateByPrimaryKey(OrderExtPo record);
}